package com.n9.buymsg.view.vo;


import com.n9.buymsg.view.table.JTable;
import com.n9.buymsg.view.table.JTableColumn;

/**
 * @author ice
 * @since 2019/3/6 16:08
 */
@JTable(columns = {
        @JTableColumn(rowIndex = true, title = "序号", preferredWidth = 50, minWidth = 50, maxWidth = 50),
        @JTableColumn(fieldName = "uin", title = "QQ号", preferredWidth = 100),
        @JTableColumn(fieldName = "nick", title = "昵称", preferredWidth = 100),
        @JTableColumn(fieldName = "groupCount", title = "群数量", preferredWidth = 100),
        @JTableColumn(fieldName = "loginTime", title = "登陆时间", preferredWidth = 100),
        @JTableColumn(fieldName = "totalMsgCount", title = "消息总数", preferredWidth = 130),
        @JTableColumn(fieldName = "buyMsgCount", title = "求购消息数", preferredWidth = 130),
        @JTableColumn(fieldName = "status", title = "状态", preferredWidth = 90)
})
public class QqVo {
    /**
     * QQ号
     */
    private Long uin;
    /**
     * 密码
     */
    private String password;
    /**
     * 群号
     */
    private String groupCount;
    /**
     * 昵称
     */
    private String nick;
    /**
     * 消息总数
     */
    private Long totalMsgCount;
    /**
     * 求购消息数
     */
    private Long buyMsgCount;
    /**
     * 登陆时间
     */
    private String loginTime;
    /**
     * QQ状态
     */
    private String status;


    public QqVo(Long uin, String password) {
        this.uin = uin;
        this.password = password;
    }

    public Long getUin() {
        return uin;
    }

    public String getGroupCount() {
        return groupCount;
    }

    public void setGroupCount(String groupCount) {
        this.groupCount = groupCount;
    }

    public String getPassword() {
        return password;
    }

    public String getNick() {
        return nick;
    }

    public void setNick(String nick) {
        this.nick = nick;
    }

    public Long getTotalMsgCount() {
        return totalMsgCount;
    }

    public void setTotalMsgCount(Long totalMsgCount) {
        this.totalMsgCount = totalMsgCount;
    }

    public Long getBuyMsgCount() {
        return buyMsgCount;
    }

    public void setBuyMsgCount(Long buyMsgCount) {
        this.buyMsgCount = buyMsgCount;
    }

    public String getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(String loginTime) {
        this.loginTime = loginTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
